from selenium.webdriver.common.by import By


#工作台主悬浮框
class Workbench_page_locs_main:

    #我的工作台
    workbench_span  = (By.XPATH,"//span[text()='我的工作台']")

    #frmain  内嵌页Webdriver
    frmain_webdriver = (By.ID,"frmain")

    #悬浮框-查看公告按钮
    view_announcements_button = (By.XPATH,'//div[@class="submenu_2 w240"]//span[text()="查看公告"]')

    #消息按钮（用来释放悬浮框）
    news_button = (By.XPATH,"//font[@id='font_Notice']")
    #查看公告-标题输入框

#我的公告
class Workbench_page_locs_view_announcements:
    #查看公告内嵌id  iframeSubMenu
    frame_webdriver = (By.ID,"iframeSubMenu")

    #查看公告-标题输入框
    title_input =(By.ID,'_easyui_textbox_input1')

    #查看公告-搜索按钮
    search_button = (By.XPATH,'//span[text()="搜索"]')